 int re=12;
int bl=8;
int val=0;
void setup() {
  // put your setup code here, to run once:

  pinMode (re, OUTPUT);
pinMode  (bl, OUTPUT);

Serial.begin(9600);

}

void loop() {
  // put your main code here, to run repeatedly:
  for (val=255;val>0;val--)
  {
    analogWrite(re, val);
      analogWrite(bl, 255-val);
         Serial.println(val, DEC);
        delay(30);
  }
for(val=0;val<255;val++)
{
   analogWrite(re, val);
      analogWrite(bl, 255-val);
        
        Serial.println(val, DEC);
        delay(30);
}

/*digitalWrite(re,HIGH);
digitalWrite(bl,HIGH);
digitalWrite(ye,HIGH);
delay(100000);
digitalWrite(re,LOW);
delay(1000);
digitalWrite(bl,LOw);
delay(ye,2000);*/



}
